package com.zbkj.crmeb.order.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;


@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ImOrderResponse implements Serializable {

    @JsonProperty(value = "code")
    private String code;

    @JsonProperty(value = "message")
    private String message;

    @JsonProperty(value = "success")
    private boolean success;

    @JsonProperty(value = "timestamp")
    private Long timestamp;

    @JsonProperty(value = "error")
    private String error;

    @JsonProperty(value = "data")
    private Result data;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Result {

        @JsonProperty(value = "orderLineNum")
        private String orderLineNum;

    }

}
